/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package za.ac.cput.adp.violate.model.Date;

import za.ac.cput.adp.violate.model.Employee.Employee;

/**
 *
 * @author Abduraghmaan
 */
public class Date {
    private int month;
    private int day;
    private int year;
    private Employee emp;
   
   
    public Date(Employee emp,int m, int d, int y)
    {
        this.emp = emp;
        month = emp.checkMonth(m);
        year = y;
        day = d;
    }
    
    @Override
    public String toString()
    {
        
        return String.format("%d/%d/%d",month,day,year);
    }
    
}
